set DIR=%~dp0
mkdir %DIR%\build-eclipse\Debug
mkdir %DIR%\build-eclipse\Release
cmake -E chdir %DIR%\build-eclipse\Release cmake -G"Eclipse CDT4 - MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ..\..\source
cmake -E chdir %DIR%\build-eclipse\Debug cmake -G"Eclipse CDT4 - MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug ..\..\source